package com.finanzas.dao.impl;

import javax.persistence.Persistence;

import com.finanzas.dao.ElementoDao;
import com.finanzas.entity.Elemento;
import com.finanzas.general.dao.impl.GeneralDaoImpl;

public class ElementoDaoImpl extends GeneralDaoImpl<Elemento, Long> implements
		ElementoDao {

	public ElementoDaoImpl() {
		if (this.em == null) {
			this.em = Persistence.createEntityManagerFactory(
					"TlanezifinanzasPU").createEntityManager();
		} else {
			System.out.println("Existe Inyeccion");
		}
	}

}
